package cn.edu.zafu.bigdata.x.zhaobolei;

public class courselei {
    private final String classID;
    private final String courseName;
    private final String teacherName;
    private final int credits;

    public courselei(String cID, String cName, String tName, int credits) {
        this.classID = cID;
        this.courseName = cName;
        this.teacherName = tName;
        this.credits = credits;
    }

    public void print1(){
        System.out.println("课号："+this.classID);
        System.out.println("课名："+this.courseName);
        System.out.println("老师："+this.teacherName);
        System.out.println("学分："+this.credits);
    }
}
